public class StudentTest {
    public static void main(String[] args) {
        //创建类的对象
        //调用的空参构造
        //Student s1 = new Student();
        Student s = new Student(name:"张三", age:20);
        System.out.println(s.getName());
        System.out.println(s.getAge());

    }
}
